package gtkwire.widget.utils;

/**
* File Chooser action modes.
*/
public class GtkFileChooserAction
{

	/**
	* Indicates open mode. The file chooser will only let the user pick an existing file.
	*/
	public static final GtkFileChooserAction OPEN = new GtkFileChooserAction( "GTK_FILE_CHOOSER_ACTION_OPEN" );
	/**
	*Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.
	*/
	public static final GtkFileChooserAction SAVE = new GtkFileChooserAction( "GTK_FILE_CHOOSER_ACTION_SAVE" );
	/**
	* Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.
	*/
	public static final GtkFileChooserAction SELECT_FOLDER = new GtkFileChooserAction( "GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER" );
	/**
	* Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder.
	*/
	public static final GtkFileChooserAction CREATE_FOLDER = new GtkFileChooserAction( "GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER" );

	private String mode;

	private GtkFileChooserAction( String mode )
	{
		this.mode = mode;
	}

	public String getMode(){ return mode; }

}//end class
